import { defineStore } from "pinia";

export const storeSys = defineStore("sys", {
  persist: true,
  state: () => ({
    name: "美拍绵阳",
  }),
  actions: {
    async setSys(data) {
      for (let i in data) {
        this[i] = data[i];
      }
    },
  },
});
